<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>12_continue-基本使用</title>
    </head>
    <body>
        <script>
            // continue 终止本次循环 执行下一次循环
            for(var i = 1; i <= 10; i++) {
                if(i == 3){
                    continue;
                }

                console.log(i);
            }
        </script>
    </body>
</html>